package cn.getech.data.development.service;

import cn.getech.data.development.model.dto.CMClusterAnalyDto;
import cn.getech.data.development.model.dto.CMClusterDto;
import cn.getech.data.development.model.dto.JobRunTOPDto;
import cn.getech.data.development.model.dto.QueueStaticUsedHourDto;
import cn.getech.data.development.model.qo.CMClusterSearchQO;
import cn.getech.data.development.model.qo.CMClusterSearchTimeQO;
import cn.getech.data.development.model.vo.CMClusterCPUVO;
import cn.getech.data.development.model.vo.CMClusterHDFSVO;
import cn.getech.data.development.model.vo.CMClusterNetIOVO;
import cn.getech.data.development.model.vo.QueueStaticUsedHourVO;

import java.util.List;

public interface BigScreenService {

    CMClusterDto focusSum();

    List<CMClusterDto> focusInfo(CMClusterSearchQO cmClusterSearchQO,Integer type);

    List<CMClusterAnalyDto> clusterCPU(CMClusterSearchTimeQO cmClusterSearchTimeQO);

    List<CMClusterAnalyDto> clusterLastHostCPU(CMClusterSearchTimeQO cmClusterSearchTimeQO,String hostId);

    List<CMClusterAnalyDto> clusterLastHostIOCPU(CMClusterSearchTimeQO cmClusterSearchTimeQO,String hostId);

    CMClusterNetIOVO clusterNetIO(CMClusterSearchTimeQO cmClusterSearchTimeQO);

    CMClusterHDFSVO clusterHdfsInfo(CMClusterSearchTimeQO cmClusterSearchTimeQO);

    List<CMClusterCPUVO> changeTimeData(List<CMClusterAnalyDto> totalHdfsList);

    List<CMClusterAnalyDto> lastQueueMemory();

    List<CMClusterAnalyDto> lastQueueMemory(Integer tenantId);

    List<QueueStaticUsedHourDto> queueMemoryHistory(CMClusterSearchTimeQO cmClusterSearchTimeQO);

    QueueStaticUsedHourVO queueMemoryHistoryCharts(List<QueueStaticUsedHourDto> rest, CMClusterSearchTimeQO cmClusterSearchTimeQO);

    List<JobRunTOPDto> runTimeTop(CMClusterSearchTimeQO cmClusterSearchTimeQO);

    List<JobRunTOPDto> runFailNumTop(CMClusterSearchTimeQO cmClusterSearchTimeQO);

    List<CMClusterAnalyDto> clusterLastCPU();

}
